package com.e.dianshang.service;

import com.e.dianshang.pojo.Brand;

import java.util.List;
import java.util.Map;

/**
 * @Description: TOOD
 * @ClassName: BrandService
 * @Author: ${陈柯宇}
 * Date: 2020/11/10 10:18
 * @Version: 1.0
 */

public interface BrandService {

    //搜索所有品牌
    List<Brand> findAllBrand();

    //根据品牌查找对应的规格
    List<Map<String,Object>> findGoodsByBrand(Integer id);

    //根据品牌及对应的规格找商品
    List<Map<String,Object>> findGoodsAllByBrand(Integer id,String memory,String color,String size);
}
